import { createApp } from "vue";
import Content from "./components/Content.vue";
import Foot from "./components/Foot.vue";
import Top from "./components/Top.vue";
import Index from "./components/index.vue";

//创建 Vue 实例
const app = createApp(Index);
//全局注册组件
app.component("Top", Top); //引用组件的名称为 Top
app.component("Content", Content); //引用组件的名称为 Content
app.component("Foot", Foot); //引用组件的名称为 Foot
//将 Vue 实例挂载到 id 为 app 的 div 标签上
app.mount("#app")
